#section hasMany
    public function {nodeName}()
    {
        return $this->hasMany('{nodeFullName}',
                '{sonsMasterKey}');
    }
#section hasOne
    public function {nodeName}()
    {
        return $this->hasOne('{nodeFullName}',
                '{sonsMasterKey}');
    }
#section belongsTo
    public function MasterNode(){
        return $this->belongsTo('{nodeFullName}', 
                '{masterKey}' ,
                '{mastersIDKey}');
    }
    
    public function {nodeName}()
    {
        return $this->belongsTo('{nodeFullName}', 
                '{masterKey}' ,
                '{mastersIDKey}');
    }

   